<html xmlns="http://www.w3.org/1999/xhtml" xmlns:c="http://java.sun.com/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:t="http://myfaces.apache.org/tomahawk"
      xmlns:v="http://corejsf.com/validator">

<f:view>
<f:loadBundle var="text" basename="#{ygxlForm.bundleName}"/>
    <head>
        <title>#{text['ygxlDetail.title']}</title>
        <meta name="heading" content="#{text['ygxlDetail.heading']}"/>
        <style type="text/css">
            .jscalendar-DB-div-style {
                position: absolute;
                margin-top: -120px;
                margin-left: -508px;
            }
    </style>
    </head>
<body id="ygxlForm">

<h:form id="ygxlForm" onsubmit="return validateYgxlForm(this)">



<h:inputHidden value="#{ygxlForm.ygxl.id}" id="id"/>
<h:inputHidden value="#{ygxlForm.ygxl.version}" id="version"/>

<h:panelGrid columns="6">
   
    <h:outputLabel styleClass="desc" for="username" value="#{text['ygxl.username']}"/>
    <t:message for="username" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="username" value="#{ygxlForm.ygxl.username}" required="false" maxlength="50">
    </h:inputText>
    
    <h:outputLabel styleClass="desc" for="bkys" value="#{text['ygxl.bkys']}"/>
    <t:message for="bkys" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="bkys" value="#{ygxlForm.ygxl.bkys}" required="false" maxlength="255">
    </h:inputText>
     
    <h:outputLabel styleClass="desc" for="bkysbl" value="#{text['ygxl.bkysbl']}"/>
    <t:message for="bkysbl" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="bkysbl" value="#{ygxlForm.ygxl.bkysbl}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="dz" value="#{text['ygxl.dz']}"/>
    <t:message for="dz" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="dz" value="#{ygxlForm.ygxl.dz}" required="false" maxlength="50">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="dzbl" value="#{text['ygxl.dzbl']}"/>
    <t:message for="dzbl" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="dzbl" value="#{ygxlForm.ygxl.dzbl}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="gzyx" value="#{text['ygxl.gzyx']}"/>
    <t:message for="gzyx" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="gzyx" value="#{ygxlForm.ygxl.gzyx}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="gzyxbl" value="#{text['ygxl.gzyxbl']}"/>
    <t:message for="gzyxbl" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="gzyxbl" value="#{ygxlForm.ygxl.gzyxbl}" required="false" maxlength="255">
    </h:inputText>
  
    <h:outputLabel styleClass="desc" for="zz" value="#{text['ygxl.zz']}"/>
    <t:message for="zz" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="zz" value="#{ygxlForm.ygxl.zz}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="zzbl" value="#{text['ygxl.zzbl']}"/>
    <t:message for="zzbl" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="zzbl" value="#{ygxlForm.ygxl.zzbl}" required="false" maxlength="255">
    </h:inputText>

</h:panelGrid>
  <h:panelGroup styleClass="buttonBar bottom">
        <h:commandButton value="#{text['button.save']}" action="#{ygxlForm.save}" id="save" styleClass="button"/>

        <c:if test="${not empty ygxlForm.ygxl.id}">
        <h:commandButton value="#{text['button.delete']}" action="#{ygxlForm.delete}"
            id="delete" styleClass="button" onclick="bCancel=true; return confirmDelete('Ygxl')"/>
        </c:if>

        <h:commandButton value="#{text['button.cancel']}" action="cancel" immediate="true"
            id="cancel" styleClass="button" onclick="bCancel=true"/>
    </h:panelGroup>
    
</h:form>

<v:validatorScript functionName="validateYgxlForm"/>

<script type="text/javascript">
    //Form.focusFirstElement($('ygxlForm'));
    highlightFormElements();
</script>

</body>
</f:view>
</html><!--

<h:outputLabel styleClass="desc" for="operation" value="#{text['ygxl.operation']}"/>
    <t:message for="operation" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="operation" value="#{ygxlForm.ygxl.operation}" required="false" maxlength="20">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="optdate" value="#{text['ygxl.optdate']}"/>
    <t:message for="optdate" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="optdate" value="#{ygxlForm.ygxl.optdate}" required="false" maxlength="23">
    </h:inputText>

 <h:selectOneMenu value="#{ygxlForm.ygxl.jbqk}" id="jbqk" required="false" styleClass="select">
        <f:selectItems value="#{ygxlForm.ygxl.jbqk}"/>
    </h:selectOneMenu>
    
 <h:outputLabel styleClass="desc" for="id" value="#{text['ygxl.id']}"/>
    <h:inputText styleClass="text medium" id="id" value="#{ygxlForm.ygxl.id}" required="true">
        <v:commonsValidator type="required" arg="#{text['ygxl.id']}"/>
    </h:inputText>
    <t:message for="id" styleClass="fieldError"/>
-->